package com.izkml.mlyun.hotreload.enums;


/***
 * 页面消息类型
 * @author zhangp
 * @date 2025/5/15 0015 16:36
 */
public enum ResultTypeEnums {

    /**
     * DEBUG调试 消息类型
     */
    TIP("101", "提示", BusinessTypeEnums.DEBUG),

    CONNECT("102", "连接信息", BusinessTypeEnums.DEBUG),

    LINE("103", "当前所在代码行数", BusinessTypeEnums.DEBUG),

    VARIABLE("104", "当前作用域变量", BusinessTypeEnums.DEBUG),

    RESPONSE("105", "响应信息", BusinessTypeEnums.DEBUG),

    VARIABLE_ATTRIBUTE("106", "变量属性", BusinessTypeEnums.DEBUG),


    /**
     * LOG日志 消息类型
     */
    LOG_INFO("200", "日志信息", BusinessTypeEnums.LOG);

    private final String code;
    private final String desc;
    private final BusinessTypeEnums businessType;

    ResultTypeEnums(String code, String desc, BusinessTypeEnums businessType) {
        this.code = code;
        this.desc = desc;
        this.businessType = businessType;
    }

    public String getDesc() {
        return desc;
    }

    public String getCode() {
        return code;
    }

    public BusinessTypeEnums getBusinessType() {
        return businessType;
    }


}
